﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZS_BCFAControl___GridList_Div1
    {
        border-collapse: collapse;
        border: 1px solid #74a4c0;
        background-color: #FFFFFF;
        text-align: center;
        color: #a30101;
    }
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">菜单管理 </font>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%"
    align="center">
    <tr>
        <td height="30" style="text-align: left">
            <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/arrowright.gif"
                align="absmiddle" />&nbsp;<a href="EditMenu.aspx">添加菜单</a>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"
    style="margin-top: 3px">
    <tr>
        <th width="150px">
            菜单组名称
        </th>
        <th width="180px">
            子菜单名称
        </th>
        <th>
            新菜单链接
        </th>
        <th width="160px">
            菜单提示
        </th>
        <th width="80px">
            操作
        </th>
    </tr>
    <CBW:MPRepeater ID="MPRepeaterList" runat="server">
        <EmptyDataTemplate>
            <tr>
                <td colspan="5">
                    暂无相关数据！
                </td>
            </tr>
        </EmptyDataTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <%#Eval("MENU_TITLE")%>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <%#WebSys.UI.Control.ZhengShou.menuControl.TranString(Eval("MENU_URL_New"), 22)%>
                </td>
                <td>
                    <%#WebSys.UI.Control.ZhengShou.menuControl.TranString(Eval("MENU_memo"), 10)%>
                </td>
                <td align="center">
                    <a href="EditMenu.aspx?action=edit&id=<%#Eval("id") %>">编辑</a>&nbsp;<a href="EditMenu.aspx?action=del&id=<%#Eval("id") %>&type=0">删除</a>
                </td>
            </tr>
            <CBW:MPRepeater ID="SMPRepeaterList" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <%#Eval("MENU_TITLE")%>
                        </td>
                        <td>
                            <%#WebSys.UI.Control.ZhengShou.menuControl.TranString(Eval("MENU_URL_NEW"), 35)%>
                        </td>
                        <td>
                            <%#WebSys.UI.Control.ZhengShou.menuControl.TranString(Eval("MENU_memo"), 10)%>
                        </td>
                        <td align="center">
                            <a href="EditMenu.aspx?action=edit&id=<%#Eval("id") %>">编辑</a>&nbsp;<a href="EditMenu.aspx?action=del&id=<%#Eval("id") %>">删除</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </CBW:MPRepeater>
        </ItemTemplate>
    </CBW:MPRepeater>
</table>
